package edu.whu.demo.service;

import edu.whu.demo.domain.Commdity_SuppliersDTO;
import edu.whu.demo.service.impl.CommodityServiceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

import static org.junit.jupiter.api.Assertions.assertEquals;

@SpringBootTest
public class multiTableQuery {
    @Autowired
    CommodityServiceImpl commodityService;

    @Test
    void testSelectCommodityWithSuppliers(){
        Commdity_SuppliersDTO commditySuppliersDto = commodityService.getCommdityWithSuppliers(1);

    }

}
